package cn.edu.imnu.Service.impl;

import cn.edu.imnu.Service.AccountService;
import cn.edu.imnu.entity.dto.AccountLogindto;
import cn.edu.imnu.entity.dto.StudentLogindto;
import cn.edu.imnu.entity.vo.AccountLoginvo;
import cn.edu.imnu.entity.vo.StudentLoginvo;
import cn.edu.imnu.mapper.AccountMapper;
import cn.edu.imnu.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountMapper accountMapper;

    public AccountLoginvo login(AccountLogindto accountLogindto) {
        return accountMapper.login(accountLogindto);
    }
}
